package com.lkd.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * @Author: Z.lx
 * @Date: 2025/8/16 21:22
 * @Description:
 **/
@Data
@TableName("tb_user")
public class User {
    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long roleId;

    private String userName;

    private String loginName;

    private String password;

    private String secret;

    private String roleCode;

    private String mobile;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long regionId;

    private String regionName;

    private Boolean status;

    private String image;

}
